<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<%@  taglib  uri="http://java.sun.com/jsp/jstl/core"  prefix="c"  %>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'left.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<style type="text/css">
		#opt_type{ height:28px; padding:4px 0 0 18px; margin:0 0 0 0; font:600 14px/24px Arial; background:url(images/opt_name.gif) no-repeat;}


</style>
  </head>
  
  <body>
   <div class="side_list" >
       <c:forEach  items="${map}"  var="p" 
        varStatus="status">
           <h1 id="opt_type">${p.key}</h1>
                
        
            <c:forEach items="${p.value}" var="n">
             <ul>
             <li><a href='news_read.jsp?nid=${n.nid}'><b>${n.ntitle}</b></a></li>
              </ul>
        
        
            </c:forEach>
        
        
        
        </c:forEach>
 
   </body>
</html>
